import React, { useEffect } from 'react'
import NavLayout from '../_Layout/NavLayout'
import FileTabs from '../../widgets/NavBar/FileTabs'
import UserProfileBanner from '../../widgets/Banner/UserProfileBanner'
import RouterView from '../../widgets/RouterView'

export default function UserProfile(props: any) {
    useEffect(() => {
        // console.log(props.params.type)
    }, [])

    return (
        <NavLayout>
            <UserProfileBanner />
            <FileTabs userId={props.params.userId} />
            <RouterView path={'/profile'} />
        </NavLayout>
    )
}
